package com.wondertek.service.sdk.iotdh.dto.res.keyboard;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

@Data
public class KeyboardAccessoryInfo {
    @NotBlank
    @Schema(name = "id",description = "配件id")
    private String id;

    @Schema(name = "name",description = "配件名称 char[128] 必传")
    private String name;

    @Schema(name = "controlAreaIds",description = "[0]-全局（所有分区1-32）；[1,2]表示分区1和分区2。")
    private List<Integer> controlAreaIds;

    @Schema(name = "state",description = "配件外设禁⽤状态 0-启⽤所有功能； 1-禁⽤防拆功能； 2-禁⽤所有功能")
    private Integer state;

    private CardReader cardReader;

    @Schema(name = "ledBrightnessLevel",description = "背光亮度 0-关闭 ； 1-亮度最低； 2-亮度适中；3-亮度最⾼")
    private Integer ledBrightnessLevel;

    private LockInfo lockInfo;

    @Schema(name = "powerRegulation",description = "发射功率 ⾼-3 ; 低-1; ⾃动-0")
    private Integer powerRegulation;

    private OverTemperatureAlarm overTemperatureAlarm;

    @Schema(name = "armingWithoutCodeEnable",description = "⽆密码布防使能 false-关闭； true-开启")
    private boolean  armingWithoutCodeEnable;

    @Schema(name = "beepIndicationEnable",description = "进⼊/退出延时及布撤防提示⾳使能")
    private boolean  beepIndicationEnable;

    @Schema(name = "volume",description = "蜂鸣⾳量 0-关闭； 1-低； 2-中； 3-⾼")
    private Integer volume;
}
